###############################################################################
#
# file: setup.py
# author: Victor Bos
# 
# Copyright 2007--2011 Victor Bos
#
# This file is part of GREATOR.
#
#    GREATOR is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    GREATOR is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with GREATOR.  If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
import distutils.core
import glob
import os.path
try:
    import py2exe
except ImportError:
    pass

script_args = []
name = "GREATOR"
description = "(Version: 1.57-Berlin) A program to create and play board games."
version = "1.57"
data_files = []


distutils.core.setup(
    author = "Victor Bos",
    author_email = "Victor.Bos@gmail.com",
    url = "no URL available",
    version=version,
    description=description,
    name=name,
    packages = ['greator'],
    package_dir = {'greator': 'src'},
    data_files=[('bitmaps', glob.glob(os.path.join("bitmaps", "*.xbm"))),
                ('icons', glob.glob(os.path.join("icons", "*.*"))),
                ('manual', glob.glob(os.path.join("manual", "html", "*.html"))),
                ('images', glob.glob(os.path.join("manual", "images", "*.gif"))),
                ('', ['COPYING'])
                ],
    scripts=['rungreator.pyw'],
    windows=[{
            "script":"rungreator.pyw",
            "icon_resources": [(1,"icons/greator-sym.ico")]
            }]
    )
    
